import Vue from 'vue'
import Router from 'vue-router'
import FuWenBenAdd from '@/components/FuWenBenAdd'
import FuWenBenEdit from '@/components/FuWenBenEdit'
import Protocol from '@/components/Protocol'
import Problem from '@/components/Problem'
import About from '@/components/About'

Vue.use(Router)

export default new Router({
//	mode: 'history',
	routes: [{
			path: '/',
			name: 'FuWenBenAdd',
			component: FuWenBenAdd
		},
		{
			path: '/edit',
			name: 'FuWenBenEdit',
			component: FuWenBenEdit
		},
		{
			path: '/protocol',
			name: 'Protocol',
			component: Protocol
		},
		{
			path: '/problem',
			name: 'Problem',
			component: Problem
		},
		{
			path: '/about',
			name: 'About',
			component: About
		}
	]
})